Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Printer  Port  Properties  

 Content of List Printer Port Properties.ps1
MD5 Hash: B7C17E8F051E5B1F4E0482B076BF8D68
$strComputer = "."

$colItems = get-wmiobject -class "Win32_TCPIPPrinterPort" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Byte Count: " $objItem.ByteCount
write-host "Caption: " $objItem.Caption
write-host "Creation Class Name: " $objItem.CreationClassName
write-host "Description: " $objItem.Description
write-host "Host Address: " $objItem.HostAddress
write-host "Installation Date: " $objItem.InstallDate
write-host "Name: " $objItem.Name
write-host "Port Number: " $objItem.PortNumber
write-host "Protocol: " $objItem.Protocol
write-host "Queue: " $objItem.Queue
write-host "SNMP Community: " $objItem.SNMPCommunity
write-host "SNMP Device Index: " $objItem.SNMPDevIndex
write-host "SNMP Enabled: " $objItem.SNMPEnabled
write-host "Status: " $objItem.Status
write-host "System Creation Class Name: " $objItem.SystemCreationClassName
write-host "System Name: " $objItem.SystemName
write-host "Type: " $objItem.Type
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a